package com.wang.orders.pojo;

import com.wang.goods.pojo.AGoods;
import com.wang.users.pojo.AUsers;

import java.util.Date;

/**
 * pojo(购物车)
 */
public class ACart
{
    private int id;
    private int usersId;
    private int goodsId;
    private int num;
    private byte status;
    private Date createTime;
    private Date updateTime;
    private Date pubTime;

    /* 关联字段 */
    private AUsers users ;
    private AGoods goods ;

    public AUsers getUsers()
    {
        return users;
    }

    public void setUsers(AUsers users)
    {
        this.users = users;
    }

    public AGoods getGoods()
    {
        return goods;
    }

    public void setGoods(AGoods goods)
    {
        this.goods = goods;
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public int getUsersId()
    {
        return usersId;
    }

    public void setUsersId(int usersId)
    {
        this.usersId = usersId;
    }

    public int getGoodsId()
    {
        return goodsId;
    }

    public void setGoodsId(int goodsId)
    {
        this.goodsId = goodsId;
    }

    public int getNum()
    {
        return num;
    }

    public void setNum(int num)
    {
        this.num = num;
    }

    public byte getStatus()
    {
        return status;
    }

    public void setStatus(byte status)
    {
        this.status = status;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getPubTime()
    {
        return pubTime;
    }

    public void setPubTime(Date pubTime)
    {
        this.pubTime = pubTime;
    }
}
